package com.zhang.cloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableFeignClients//此处注明这个，然后再service里面@FeignClient(value="consul-provider-payment")
public class FeignMain80 {
     public static void main(String[] args) {
           SpringApplication.run(FeignMain80.class, args);
      }

}